// 用户相关API
import http from "@/tools/http";
export const list = (params) => {
  return http.get("/optionAuth/list", { params });
};
export const remove = (params) => {
  return http.post("/optionAuth/remove",params);
}
export const update = (params) => {
  return http.post("/optionAuth/update", params);
};
export const info = (params) => {
  return http.get("/optionAuth/info", { params });
};

export const add = (params) => {
    return http.post("/optionAuth/add", params);
}

export default {
  list,
  remove,
  update,
  info,
  add,
};